Resmush\ShortPixelLogger\ShortPixelLogger B

Total Complexity 83
Dependencies 2
Dependents 6
Total lines 455
Lines of code 300
Logical lines of code 168
Comment lines 42
Methods 28
Properties 17

Methods 28

Method Rating Maintainability Complexity Lines of code
__construct()
A
45 14 41
getWriteFile()
A
48 9 36
addLog()
A
50 9 28
formatLine()
A
51 9 25
initView()
S
57 6 14
write()
S
55 5 18
monitorHooks()
S
62 4 10
formatBytes()
S
59 3 14
addMemoryLog()
S
58 2 15
loadView()
S
58 2 15
getEnv()
S
67 2 9
getInstance()
S
69 2 7
getLogLevel()
S
75 1 4
addDebug()
S
72 1 5
isManualDebug()
S
75 1 4
getLogPath()
S
75 1 4
logLevel()
S
73 1 5
addTemp()
S
79 1 3
addMemory()
S
75 1 4
unitToInt()
S
71 1 5
addInfo()
S
72 1 5
addWarning()
S
79 1 3
addWarn()
S
72 1 5
addError()
S
72 1 5
logHook()
S
71 1 5
setLogLevel()
S
81 1 3
setLogPath()
S
76 1 4
debugIsActive()
S
75 1 4